package com.tiamo.common.web.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author luozhiwei
 * @date 2023/4/17 下午11:55
 */
@Data
@Builder
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class WebResponse<T> implements Serializable {

    private String msg;

    private int code;

    private T data;

    private int status = 0;


}
